.msg {
  &.success {
    .icon {
      height: 16px;
      line-height: 18px;
      margin-right: 8px;
      color: #52c41a;
    }
  }
  &.error {
    .icon {
      height: 16px;
      line-height: 18px;
      margin-right: 8px;
      color: #f5222d;
    }
  }
  &.warning {
    .icon {
      height: 16px;
      line-height: 18px;
      margin-right: 8px;
      color: #faad14;
    }
  }
  &.loading {
    .icon {
      height: 16px;
      line-height: 18px;
      margin-right: 8px;
      color: #1890ff;
      animation: rotating 2s linear infinite;
    }
  }
}

@keyframes rotating {
  100% {
    transform: rotate(360deg);
  }
}